package com.kingmed.kmss.common.bo.bpmn;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonFormat;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ProcessInstanceBO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6895692770791627285L;

	private String processDefinitionId;
	private String processDefinitionName;
	private String processDefinitionKey;
	private String processDefinitionCategory;
	private String processDescription;
	//
	private String instanceId;
	private String instanceName;
	private String executionId;
	private String status;
	private String rootInstanceId;
	private String parentInstanceId;
	private String isRootProcess;
	private String tenantId;
	//
	private String businessKey;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date startTime;
	private String startUserId;
	private String isMultiInstance;
	private String isActive;
	//
	private String focusTaskId;

	//
	private Map<String, Object> variableMap;

	//
	private String deleteReason;


}
